	<include file='Common:header' />

		<!-- /section:basics/navbar.layout -->
		<div class="main-container" id="main-container">

			<!-- #section:basics/sidebar -->

	<include file='Common:left' />
			<!-- /section:basics/sidebar -->
			<div class="main-content">
				<div class="main-content-inner">
					<div class="page-content">
					
							<div class="row maintop">
								<div class="col-xs-12 col-sm-3">
								<form name="admin_list_sea" class="form-search" method="post" action="__URL__/member_list">
									<div class="input-group">
										<span class="input-group-addon">
											<i class="ace-icon fa fa-check"></i>
										</span>
										<input type="text" name="key" id="key" class="form-control search-query admin_sea" value="{$val}" placeholder="输入用户名或者邮箱" />
										<span class="input-group-btn">
											<button type="submit" class="btn btn-xs  btn-purple">
												<span class="ace-icon fa fa-search icon-on-right bigger-110"></span>
												搜索
											</button>
										</span>
									</div>
								</form>
								</div>
								  <div class="input-group-btn">
									<a href="__URL__/member_list">
									<button type="button" class="btn btn-xs  btn-purple">
										<span class="ace-icon fa fa-globe icon-on-right bigger-110"></span>
										显示全部
									</button>
									</a>
								  </div>
							</div>

							<div class="row">
							    <div class="col-xs-12">
										<div>
											<table width="100%" class="table table-striped table-bordered table-hover" id="dynamic-table">
												<thead>
													<tr>
													  <th width="8%">渠道ID</th>
													  <th width="34%">用户openid</th>
													  <th width="20%">渠道使用量</th>
													  <th width="17%">添加时间</th>
													  <th width="10%">状态</th>
													  <th width="11%" style="border-right:#CCC solid 1px;">操作</th>
												  </tr>
												</thead>

												<tbody>
                                                
                                                <foreach name="member_code_list" item="v">
													<tr>
														<td height="28" >{$v.member_code_id}</td>
														<td>{$v.member_list_weid}</td>
														<td>&nbsp;</td>
														<td>{$v.member_code_addtime|date='Y-m-d',###}</td>
														<td>&nbsp;</td>
														<td>
								<div class="hidden-sm hidden-xs action-buttons">
									<a class="green"  href="{:U('member_list_edit',array('member_code_id'=>$v['member_code_id']))}" title="修改">
										<i class="ace-icon fa fa-pencil bigger-130"></i>
									</a>
									<a class="red" href="javascript:;" onclick="return del({$v.member_code_id},{:I('p',1)});" title="删除">
										<i class="ace-icon fa fa-trash-o bigger-130"></i>
									</a>								
								</div>
														</td>
													</tr>
                           
						                         </foreach>  
                                                  <tr>
													  <td height="50" colspan="7" align="left">{$page}</td>
												  </tr>
												</tbody>
										  </table>
										  
							    		</div>
									</div>
								</div>

	<include file='Common:header_nav' />

					</div><!-- /.page-content -->
				</div>
			</div><!-- /.main-content -->

	<include file='Common:footer' />

		</div><!-- /.main-container -->
	</body>
</html>
